
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 限时购主表
    /// </summary>
    public partial class FlashSaleInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        public string Title { get; set; }
        public long ShopId { get; set; }
        public long ProductId { get; set; }
        /// <summary>
        /// 待审核,进行中,已结束,审核未通过,管理员取消
        /// </summary>
        public Himall.Entity.FlashSaleStatus Status { get; set; }
        /// <summary>
        /// 活动开始日期
        /// </summary>
        public System.DateTime BeginDate { get; set; }
        /// <summary>
        /// 活动结束日期
        /// </summary>
        public System.DateTime EndDate { get; set; }
        /// <summary>
        /// 限制每人购买的数量
        /// </summary>
        public int LimitCountOfThePeople { get; set; }
        /// <summary>
        /// 仅仅只计算在限时购里的销售数
        /// </summary>
        public int SaleCount { get; set; }
        public string CategoryName { get; set; }
        public string ImagePath { get; set; }
        public decimal MinPrice { get; set; }

        public virtual ProductInfo Himall_Products { get; set; } 
        public virtual ShopInfo Himall_Shops { get; set; } 
       
    }
}
